package com.xbongbong.pro.rabbitmq.binders;

import com.xbongbong.pro.rabbitmq.constant.ScoreBinderConstant;
import com.xbongbong.pro.rabbitmq.constant.SmsBinderConstant;
import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.stereotype.Service;

/**
 * 评分 消息队列
 * @author chunyang.qin
 * @date 2020/12/7 15:24
 * @since v1.0
 * @version v1.0
 */
@Service("scoreProducerBinder")
public interface ScoreProducerBinder {

    /**
     *  评分 消息队列
     */
    @Output(ScoreBinderConstant.SCORE_OUTPUT)
    MessageChannel scoreOutput();

}
